/*
 * @Author: 'zhangkeqq' '2211709169@qq.com'
 * @Date: 2025-07-24 15:41:13
 * @LastEditors: 'zhangkeqq' '2211709169@qq.com'
 * @LastEditTime: 2025-08-04 20:23:47
 * @FilePath: \vue3-admin\src\router\index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createRouter,createMemoryHistory,createWebHistory}from "vue-router";

import {constantRoute} from './routes'

const router = createRouter({
   history: createWebHistory(),//为了处理url地址栏中地址不会变化的问题
    // history:createMemoryHistory(),
    routes:constantRoute as any,
})
export default router